import Vue from 'vue'
import App from './App.vue'
import router from './router'


import './plugins/element.js'
import './plugins/lazyLoad.js'

// 初始化样式
import './assets/css/iconfont.css'
import './assets/css/reset.css'

//vuex导入
import store from './store/index.js'

//全局引入公共组件
import Footer from './components/Footer'
import MainNavList from './components/MainNavList'
import Search from './components/Search'
//全局注册公共组件
Vue.component('Footer', Footer)
Vue.component('MainNavList', MainNavList)
Vue.component('Search', Search)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: (h) => h(App)
})
